package com.bringway.p2p.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.bringway.p2p.dao.P2pYwyDao;
import com.bringway.p2p.service.P2pYwyService;

import net.sf.json.JSONObject;

@Service
@Transactional
public class P2pYwyServiceImpl implements P2pYwyService{
	
	@Autowired
	private P2pYwyDao p2pYwyDao;

	@Override
	public List<Map<String, Object>> queryYwysstjList(JSONObject params) {
		return p2pYwyDao.queryYwysstjList(params);
	}

	@Override
	public int getYwysstjCount(JSONObject params) {
		return p2pYwyDao.getYwysstjCount(params);
	}

}
